package com.gumbou.mis.pos.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

/**
 * @author ：JunBao Huang
 * @description：TODO
 * @date ：2021/10/23 14:08
 */
@Service
public class ScheduledService {
    @Scheduled(cron = "0 * * * * 0-7")
    public void hello(){
        System.out.println("定时任务执行");
    }

}
